package com.space.school.controller;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet(name = "UODILServilet",value = "/UODILServilet")
public class UODILServilet extends HttpServlet {
    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        req.setCharacterEncoding("UTF-8");
        String order_id=req.getParameter("order_id");
        String action=req.getParameter("action");

        if(action.equals("back")){
//            退出操作
            resp.sendRedirect("/OITOperateServlet?order_id="+order_id+"&operate=details");
        }else if(action.equals("update")){
//            修改完成操作


        }



    }
}
